
<block name="side">
    <!-- 左侧 nav
    ================================================== -->
    <div class="span3 bs-docs-sidebar">
        <block name="publish"></block>
        <ul class="nav nav-list bs-docs-sidenav">
            <php>
                foreach ($category as $row) {
                echo '<li>';
                    echo $row["title"];
                    echo "</li>";
                if(is_array($row["_"])) {
                foreach ($row["_"] as $l2) {
                echo "-";
                echo $l2["title"];
                echo "<br>";
                if(is_array($l2["_"])) {
                foreach ($l2["_"] as $l3) {
                echo "--";
                echo $l3["title"];
                echo "<br>";
                if(is_array($l3["_"])) {
                foreach ($l3["_"] as $l4) {
                echo "---";
                echo $l4["title"];
                echo "<br>";
                }
                }
                }
                }
                }
                }
                }
            </php>

        </ul>
    </div>
</block>

